<script lang="ts" setup>

</script>

<template>
  <div class="inner-auto">
    <el-auto-resizer>
      <template #default="{ height, width }">
        <slot :width="width" :height="height" />
      </template>
    </el-auto-resizer>
  </div>
</template>

<style scoped lang="scss">
.inner-auto{
  flex:auto;
  width:100%;
  height:100%;
  overflow: hidden;
  position:relative;
}
</style>
